package ynu.edu.controller;

import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ynu.edu.common.controller.LogicController;
import ynu.edu.dao.ItemDao;
import ynu.edu.entity.Item;
import ynu.edu.service.ItemService;

@Api(tags = "商品实体的控制器")
@RestController
@RequestMapping("/item")
public class ItemController extends LogicController<ItemService, ItemDao, Item,Long> {
    public ItemController(@Autowired ItemService service){
        super(service);
    }
}